package com.tom.mapper;

import com.tom.pojo.Food;

import java.util.List;

public interface FoodMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Food record);

    int insertSelective(Food record);

    Food selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Food record);

    int updateByPrimaryKey(Food record);

    List<Food> selectByRestaurantId(Integer restId);

    int updateSalesById(Food record);

    List<Food> selectByFood(Food food);
}